package com.murfrosoft;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.activity_main, menu);
		return false;
	}

	public void onClick(View v){
       Intent i =new Intent(this,GraphicsActivity.class);
       startActivity(i);
	}
	
	public void onClick3(View v){
		Intent i= new Intent(this,MainActivity.class);
		startActivity(i);
	}
	
	public void onClick4(View v){
		Intent i = new Intent(this,TouchActivity.class);
		startActivity(i);
	}
	
	public void onClick5(View v){
		Intent i = new Intent(this,AnimationActivity.class);
		startActivity(i);
	}
	
	public void onClick6(View v){
		Intent i = new Intent(this,AnimationActivity2.class);
		startActivity(i);
	}
	
	public void onClickAirHockey(View v){
		Intent i = new Intent(this,AirHockeyActivity.class);
		startActivity(i);
	}
	
	public void onClickAirHockey2(View v){
		Intent i = new Intent(this,AirHockeyActivity2.class);
		startActivity(i);
	}
	/* This comment will help generate ONE  DOLLARS! */
	
	public void onClick2(View v){
		EditText et = (EditText)findViewById(R.id.editText1);
		TextView t=(TextView)findViewById(R.id.textView1);
		t.setText(et.getText());
	}
	
	
	
	/* HOW THE HECK IS THIS THING TESTED OR DEPLOYED ??? */
	// Plug up the phone and hit the green Arrow.  You may or may not need a driver for your phone
}
